$(document).ready(function(){
	
	$("#login")[0].focus();
	
	$('.lum-content-body').css('float', 'right');
	
	$('#login').css({'height':'25px','border-radius':'5px','color':'gray','padding-left':'5px'});
	$('#login').parent().css('padding-bottom','5px');
	$(document.getElementsByName('password')).css({'height':'25px','border-radius':'5px','color':'gray','padding-left':'5px'});
	$('#lum_div_2 ul').css({'height':'31px','width':'158px','background-color':'#25778E','border-radius':'5px','font-weight':'bold','font-size':'16px','font-family':'Arial, Helvetica, sans-serif','color':'white','list-style':'none','text-align':'center','padding':'0px','margin-left':'2px'});
	$('#lum_div_2 ul li').css('padding-top','5px');
	$('#lum_div_2 ul li a').css({'color':'#FFFFFF','padding': '5px 65px'});
	
	var strNavigator = navigator.appVersion;
 	
		var element = document.createElement('link');
		element.rel  = 'stylesheet';
		element.type = 'text/css';
		
	if( (strNavigator.indexOf("11.0") >=0 )|| (strNavigator.indexOf("MSIE 10.0") >=0)
	    || (strNavigator.indexOf("MSIE 9.0") >=0) )
		{
			$(document.getElementsByName('password')).css('width','148px');
			$('#lum_div_2 ul').css('width','155px');
		}
	else if(strNavigator.indexOf("Chrome") >=0)
		$('#lum_div_2 ul').css('width','158px');
	else
		$('#lum_div_2 ul').css('width','144px');
	
	document.body.appendChild(element); 
	
	
	
	$('.lum-form-field-label label').css({'font-size':'16px','color':'gray','font-family':'Arial, Helvetica, sans-serif'});
	
	$('.lum-content').append('<div class="divLogo" style="padding-top:12px"><img src="millenium/img/logo.png" class="logo"/></div>');
	
	$('.lum-validation-message').remove();
	
	function copyright()
	{
		dt = new Date();
		
		var copyright = "Copyright &#169; " + dt.getFullYear() + " SIGEM"
		
		return copyright;
	}
	
	$('.copyright').append(copyright());
	
	/* focusOn($('#login'));
	
	$("#login").focus(function (){
		focusOn(this);
	});
	
	$("#login").focusout(function (){
		focusOut(this);
	});
	
	function focusOn(elm)
	{
		if(elm.value == 'Login' && elm.id == 'login')
			elm.value = "";
		else if(elm.value == 'Senha'  && elm.id == 'senha')
		{
			elm.value = "";
			elm.type = "password";
		}
	}
	
	function focusOut(elm)
	{
		if(elm.value == ''  && elm.id == 'login')
			elm.value = "Login";
		else if(elm.value == ''  && elm.id == 'senha')
		{
			elm.value = "Senha";
			elm.type = "text";
		}
	} */
	
});  